<html>
    <head>
        <title>Administracija | Prijava na sistem</title>
        <style type="text/css">
            *{margin: 0;padding: 0;}
            body{
                background: #f9f9f9;
                text-align: center;                
                color: #333333;
                font-family: "Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;
                font-size: 11px;
            }
            #wrap{
                margin: 7em auto;
                width: 330px;
                text-align: left;
            }
            form {
                -moz-border-radius: 11px 11px 11px 11px;
                -moz-box-shadow: 0 4px 18px #C8C8C8;
                background: none repeat scroll 0 0 #FFFFFF;
                border: 1px solid #E5E5E5;
                font-weight: normal;
                margin-left: 8px;
                padding: 16px 16px 40px;
            }
            #login form p {
                margin-bottom: 0;
            }
            div {
                color: #777777;
                font-size: 13px;
            }
            input {
                color: #555555;
            }
            textarea, input[type="text"], input[type="password"], input[type="file"], input[type="button"], input[type="submit"], input[type="reset"], select {
                background-color: #FFFFFF;
                border-color: #DFDFDF;
            }
            #email, #password {
                background: none repeat scroll 0 0 #FBFBFB;
                border: 1px solid #E5E5E5;
                font-size: 24px;
                margin-bottom: 16px;
                margin-right: 6px;
                margin-top: 2px;
                padding: 3px;
                width: 97%;
            }
            form .forgetmenot {
                float: left;
                font-weight: normal;
                margin-bottom: 0;
            }
            form .forgetmenot div {
                font-size: 11px;
                line-height: 19px;
                margin-top: 4px;
            }
            #errors{
                background: none repeat scroll 0 0 #8BC300;
                color: #FEFEFE;
                margin: 5px 0 5px 8px;
                padding: 5px;
                width: 322px;
                -moz-border-radius: 11px 11px 11px 11px;
                -moz-box-shadow: 0 0 4px #FFFFFF;
            }
            input.button-red-4 {
                -moz-border-radius: 11px 11px 11px 11px;
                -moz-box-shadow: 0 0 4px #FFFFFF;
                background: none repeat scroll 0 0 #8BC300;
                border: 1px solid #8BC300;
                color: #FFFFFF;
                cursor: pointer;
                font-size: 13px;
                font-weight: bold;
                height: 26px;
                line-height: 20px !important;
                padding: 0 12px !important;
                text-shadow: 0 1px 1px #333333;
                vertical-align: middle;
            }  
            .submit{
                float: right;
                margin-right: 10px;
            }
        </style>
        <script src="<?=base_url()?>/assets/js/jquery-1.4.2.min.js" type="text/javascript"></script>
    </head>
    <body>
        <div id="wrap">
            <?
                if(isset($poruka)) {
                    echo '<div id="errors">'.$poruka.'</div>';
                }
                if(validation_errors()) {
                    echo '<div id="errors">'.validation_errors(' ','<br />').'</div>';
                }
            ?>
            <form name="adminlogin" id="adminlogin" action="<?=base_url()?>login/prijava" method="post">
                <div>
                    <div>Email:</div>
                        <input type="text" tabindex="10" size="20" value="<?=set_value('email')?>" class="input" id="email" name="email">
                    
                </div>
                <div>
                    <div>Password:<br>
                        <input tabindex="10" size="20" value="" class="input" name="password" id="password" type="password">
                    </div>
                </div>
                <div class="forgetmenot">
                    <div>
                        <input type="checkbox" tabindex="90" value="1" id="remember" name="remember"> Zapamti me
                    </div>
                </div>
                <p>
                <div class="submit">
                    <input class="button-red-4" type="submit" name="adminloginbtn" id="adminloginbtn" value="Prijava" />
                </div>
                 <br />
                
            </form>            
        </div>
    </body>
</html>